Welcome~ ${user}

<div id="main">
    
    <ul id="adminMenu">
        *{<li class="${request.controller == 'Admin' ? 'selected' : ''}">
            <a href="@{Admin.index()}">My posts</a>
        </li>}*
        #{secure.check 'admin'}
            <li class="${request.controller == 'Posts' ? 'selected' : ''}">
                <a href="@{MBaos.list()}">宝贝列表</a>
            </li>
        
        #{/secure.check}
    </ul>
    
    #{doLayout /} 
</div>